#pragma once

#include <exception>
#include <string>

/**
  *	PLException is the base class for all exceptions that can be thrown
  * inside the PoissonLeveler framework
  */
class PLException : public std::exception
{
public:
	PLException( const std::string &message );
	virtual const char *what() const throw();

private:
	/** Message with details about the occurred error */
	std::string mMessage;
};